package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.ApiOperation;


public interface AdSensitiveService extends IService<AdSensitive> {
    /**
     *  分页 模糊查询
     * @param dto
     * @return
     */

    public ResponseResult findPage(SensitiveDto dto);

    /**
     *  添加
     * @param adSensitive
     * @return
     */

    public ResponseResult saveAdSensitive(AdSensitive adSensitive);

    /**
     * 单个删除
     * @param id
     * @return
     */

    public ResponseResult del(Integer id);

    /**
     * 批量删除
     * @param ids
     * @return
     */

    public ResponseResult dels(Integer [] ids);


    public ResponseResult dels2(Integer [] ids);

    /**
     * 修改
     * @param adSensitive
     * @return
     */
    public  ResponseResult update(AdSensitive adSensitive);

    /**
     *  根据ID查找
     * @param id
     * @return
     */

    public ResponseResult findById(Integer id);


}
